package com.zsr.example.service.impl;

import com.zsr.example.entity.TChatRecord;
import com.zsr.example.mapper.TChatRecordMapper;
import com.zsr.example.service.TChatRecordService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zsr
 * @since 2022-03-26
 */
@Service
public class TChatRecordServiceImpl extends ServiceImpl<TChatRecordMapper, TChatRecord> implements TChatRecordService {

    @Override
    public List<TChatRecord> getMyChat(String uId) {
        return baseMapper.getMyChat(uId);
    }
}
